﻿using StarWarsBuildOutMVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace StarWarsBuildOutMVC.Controllers
{
    public class JediController : Controller
    {
        // GET: Jedi
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Jedi()
        {
            List<Jedi> jedi = new List<Jedi>(){
                new Jedi("One","Luke SkyWalker", "", "LightSaber", "", "Master","Green", "yes", " ",),
            };
            return View(jedi);
        }
    }
}